package com.example.designpartten.bridge;

/**
 * @author hql
 * @date 2020/4/16 15:05
 */
public abstract class Abstror {

    private Implementor implementor;

    public Abstror(Implementor implementor) {
        this.implementor = implementor;
    }

    public Implementor getImplementor() {
        return implementor;
    }

    public void request() {
        this.implementor.doSomething();
    }
}
